'use strict';
module.exports = (sequelize, DataTypes) => {
  const CorporateEntityCategory = sequelize.define('CorporateEntityCategory', {
    name: DataTypes.STRING,
    isDefault: {
      type: DataTypes.BOOLEAN,
      defaultValue: false,
    }
  }, {});
  CorporateEntityCategory.associate = function(models) {
    // associations can be defined here
    CorporateEntityCategory.hasMany(models.CorporateEntity);
  };
  return CorporateEntityCategory;
};